package ui

import (
	"fyne.io/fyne/v2"
	"fyne.io/fyne/v2/app"
)

func StartUI() {
	NewEventMgr()
	a := app.New()
	mainWindow := a.NewWindow("aoi")
	mainWindow.Resize(fyne.NewSize(1500, 800))
	mainWindow.SetFixedSize(true)
	mainWindow.CenterOnScreen()
	mainWindow.SetContent(NewMainUI(mainWindow, a))
	mainWindow.ShowAndRun()
}
